<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/11/14
 * Time: 15:40
 */

namespace console\controllers;


use common\business\company\CompanyService;
use yii\console\Controller;

class CompanyController extends Controller
{
    public function actionSync() {
        $service = new CompanyService();
        $result = $service->sync();

        echo (json_encode($result));
    }
}